Skip to content

cime DART testing#4985

Open
kdraeder wants to merge 4 commits into
ESMCI:masterfrom
kdraeder:DART_lowres_cime
Open

cime DART testing#4985
kdraeder wants to merge 4 commits into
ESMCI:masterfrom
kdraeder:DART_lowres_cime

Conversation

@kdraeder
Copy link
Copy Markdown
Collaborator

Description

Make mcc.py handle ensembles of the size DART uses, typically up to 100 instances.
Large ensembles have caused problems in the past, which were not visible in tests of very small ensembles.
A current example is that my tests of these changes revealed a limitation in the testing code,
which is described in the issues and PRs listed below.
The short version is that for a model_size + ensemble_size test which cannot fit on one node,
MAX_TASKS_PER_NODE must be set so that no instances are laid out onto 2 nodes.
For example, if each of 4 instances requires 50 PEs and a node has 128 PEs,
then MAX_TASKS_PER_NODE must = 100, so that 2 instances are put on each node
and none are split across the 2 nodes.

Checklist

  • [y ] My code follows the style guidelines of this project (black formatting)
  • [y ] I have performed a self-review of my own code
  • [y ] My changes generate no new warnings
  • [? ] I have added tests that exercise my feature/fix and existing tests continue to pass: I have added tests to the prebeta category, but I can't say whether any other tests are affected.
  • [n ] I have commented my code, particularly in hard-to-understand areas: the change is limited and seems self-explanatory.
  • [n ] I have made corresponding additions and changes to the documentation

kdraeder and others added 4 commits March 27, 2026 15:58
Changes are needed in multiple components: cesm, cime, cmeps, mom/MOM6.
The branches are labeled with DART_lowres_{component}.

CIME/SystemTests/mcc.py
   Set ensemble size from test name (or default).
@kdraeder kdraeder added ty: enhancement tp: system tests topic: tests dependencies Pull requests that update a dependency file labels May 27, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 28.48%. Comparing base (37d5018) to head (b6e061d).
⚠️ Report is 81 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4985   +/-   ##
=======================================
  Coverage   28.47%   28.48%           
=======================================
  Files         262      262           
  Lines       38446    38486   +40     
  Branches     8138     8144    +6     
=======================================
+ Hits        10948    10961   +13     
- Misses      26237    26265   +28     
+ Partials     1261     1260    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kdraeder
Copy link
Copy Markdown
Collaborator Author

If I shouldn't push to this branch, which one would be a better choice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant